package ooday01;
/**构造方法的演示*/
public class ConsDemo {
    public static void main(String[] args) {
        Student zs = new Student();
        Student ls = new Student("李四",25);
        Student ww = new Student("王五",26,"jsd2302","003");

        zs.sayhi();
        ls.sayhi();
        ww.sayhi();
        //Car tsl = new Car();
        Car tsl = new Car("特斯拉","黑色",200000);
        tsl.run();
        tsl.start();
        tsl.stop();
    }
}
